package com.lxd.milktea.dao;

import com.lxd.milktea.dataobject.ProductInfo;
import com.lxd.milktea.dataobject.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ProjectName: milktea
 * @Package: com.lxd.milktea.dao
 * @ClassName: ProductRepository
 * @Author: carrymaniac
 * @Description:
 * @Date: 2020/5/3 10:27 上午
 * @Version:
 */
@Repository
public interface ProductRepository extends JpaRepository<ProductInfo, String> {
    List<ProductInfo> findAllByProductStatus(Byte status);
}
